/*
 * (c), Copyright 2009-2014, Marvell International Ltd.  (Marvell)
 *
 * This code contains confidential information of Marvell.
 * No rights are granted herein under any patent, mask work right or copyright
 * of Marvell or any third party. Marvell reserves the right at its sole
 * discretion to request that this code be immediately returned to Marvell.
 * This code is provided "as is". Marvell makes no warranties, expressed,
 * implied or otherwise, regarding its accuracy, completeness or performance.
 */
/**
 * @brief set TM register addresses - generated file
 *
 * @file tm_regs.c
 *
 * $Revision: 2.0 $
 */

#include "tm_regs.h"


struct tm_alias TM;

/** Register alias definition for the RevA TM unit.
 */

#define SET_REG_ADDRESS(alias, hiaddr, loaddr)	  alias.l[0]=loaddr;  alias.l[1]=hiaddr;

static GT_BOOL isInitialized = GT_FALSE;

void init_tm_alias_struct()
{
		int j; /* added manually - for BAP array initialization */

		if (isInitialized == GT_TRUE)
			return;
/************************************************************************************/
        SET_REG_ADDRESS(TM.Gen.ExcSrc, 0x00000000 , 0x00000000)
        SET_REG_ADDRESS(TM.Gen.IntMask, 0x00000000, 0x00000008)
        SET_REG_ADDRESS(TM.Gen.FirstExc, 0x00000000 , 0x00000010)
/************************************************************************************/
        SET_REG_ADDRESS(TM.QMgr.HWInitPorts, 0x00000008, 0x00003000)
        SET_REG_ADDRESS(TM.QMgr.PgHdrAdmission, 0x00000008, 0x00008e00)
        SET_REG_ADDRESS(TM.QMgr.PkgHdrAdmission, 0x00000008, 0x00009200)
        SET_REG_ADDRESS(TM.QMgr.Internal_Uncorrectable_ECC_Error_status, 0x00000008, 0x00009800)
        SET_REG_ADDRESS(TM.QMgr.PkgFIFOOvrflowErrStus, 0x00000008, 0x00009860)
        SET_REG_ADDRESS(TM.QMgr.PgFIFOOvrflowErrStus, 0x00000008, 0x00009868)
        SET_REG_ADDRESS(TM.QMgr.InitSnapshot, 0x00000008, 0x00009818)
        SET_REG_ADDRESS(TM.QMgr.PkgBPSnapshot, 0x00000008, 0x00009820)
        SET_REG_ADDRESS(TM.QMgr.PkgBPSnapshotMask, 0x00000008, 0x00009828)
        SET_REG_ADDRESS(TM.QMgr.PkgBPSnapshotCnt, 0x00000008, 0x00009830)
        SET_REG_ADDRESS(TM.QMgr.PkgBPSnapshotConfig, 0x00000008, 0x00009838)
        SET_REG_ADDRESS(TM.QMgr.PgBPSnapshot, 0x00000008, 0x00009840)
        SET_REG_ADDRESS(TM.QMgr.PgBPSnapshotMask, 0x00000008, 0x00009848)
        SET_REG_ADDRESS(TM.QMgr.PgBPSnapshotCnt, 0x00000008, 0x00009850)
        SET_REG_ADDRESS(TM.QMgr.PgBPSnapshotConfig, 0x00000008, 0x00009858)
        SET_REG_ADDRESS(TM.QMgr.PktEnqFSMFIFOLevel, 0x00000008, 0x00018008)
        SET_REG_ADDRESS(TM.QMgr.MessageFIFOLevel, 0x00000008, 0x00018010)
        SET_REG_ADDRESS(TM.QMgr.PkgSnpAvailFreeCnt, 0x00000008, 0x00018020)
        SET_REG_ADDRESS(TM.QMgr.PgSnpAvailFreeCnt, 0x00000008, 0x00018028)
        SET_REG_ADDRESS(TM.QMgr.PkgContECCErrLogLSB, 0x00000008, 0x00018030)
        SET_REG_ADDRESS(TM.QMgr.PgContECCErrLogLSB, 0x00000008, 0x00018038)
        SET_REG_ADDRESS(TM.QMgr.PkgContECCErrLogMSB, 0x00000008, 0x00018040)
        SET_REG_ADDRESS(TM.QMgr.PgContECCErrLogMSB, 0x00000008, 0x00018048)
        SET_REG_ADDRESS(TM.QMgr.ErrStus, 0x00000008, 0x00000000)
        SET_REG_ADDRESS(TM.QMgr.FirstExc, 0x00000008, 0x00000008)
        SET_REG_ADDRESS(TM.QMgr.ErrCnt, 0x00000008, 0x00000010)
        SET_REG_ADDRESS(TM.QMgr.ExcCnt, 0x00000008, 0x00000018)
        SET_REG_ADDRESS(TM.QMgr.ExcMask, 0x00000008, 0x00000020)
        SET_REG_ADDRESS(TM.QMgr.ID, 0x00000008, 0x00000028)
        SET_REG_ADDRESS(TM.QMgr.ForceErr, 0x00000008, 0x00000030)
        SET_REG_ADDRESS(TM.QMgr.MgmtEvtStus, 0x00000008, 0x00000038)
        SET_REG_ADDRESS(TM.QMgr.MgmtEvtMask, 0x00000008, 0x00000040) 
        SET_REG_ADDRESS(TM.QMgr.NumOfLADs, 0x00000008, 0x00000080)
        SET_REG_ADDRESS(TM.QMgr.NumOfPagesPerBank, 0x00000008, 0x00000088)
        SET_REG_ADDRESS(TM.QMgr.MinPkgSize, 0x00000008, 0x00000090)
        SET_REG_ADDRESS(TM.QMgr.NumOfPkgsPerBank, 0x00000008, 0x00000098)
        SET_REG_ADDRESS(TM.QMgr.DDRChunnel5Map, 0x00000008, 0x00000100)
        SET_REG_ADDRESS(TM.QMgr.CRC16En, 0x00000008, 0x00001000)
        SET_REG_ADDRESS(TM.QMgr.TMHeaderProtocolVersion, 0x00000008, 0x00001008)
        SET_REG_ADDRESS(TM.QMgr.OORPkgDropThresh, 0x00000008, 0x00001010)
        SET_REG_ADDRESS(TM.QMgr.OORPageDropThresh, 0x00000008, 0x00001018)
        SET_REG_ADDRESS(TM.QMgr.OORPkgPanicThresh, 0x00000008, 0x00001020)
        SET_REG_ADDRESS(TM.QMgr.OORPagePanicThresh, 0x00000008, 0x00001028)
        SET_REG_ADDRESS(TM.QMgr.StartTMExtMemInit, 0x00000008, 0x00001080)
        SET_REG_ADDRESS(TM.QMgr.TMExtMemInitDone, 0x00000008, 0x00001088)
        SET_REG_ADDRESS(TM.QMgr.QueueInstallCmd, 0x00000008, 0x00001100)
        SET_REG_ADDRESS(TM.QMgr.QueueRemoveCmd, 0x00000008, 0x00001108)
        SET_REG_ADDRESS(TM.QMgr.TMtoSMSbp, 0x00000008, 0x00001180)
        SET_REG_ADDRESS(TM.QMgr.FreePkgHdrFIFOBp, 0x00000008, 0x00002000)
        SET_REG_ADDRESS(TM.QMgr.FreePageHdrFIFOBp, 0x00000008, 0x00002008)
        SET_REG_ADDRESS(TM.QMgr.FreePkgHdrRtnFIFOBp, 0x00000008, 0x00002010)
        SET_REG_ADDRESS(TM.QMgr.FreePageHdrRtnFIFOBp, 0x00000008, 0x00002018)
        SET_REG_ADDRESS(TM.QMgr.PkgHdrRespFIFOBp, 0x00000008, 0x00002020)
        SET_REG_ADDRESS(TM.QMgr.PageHdrRespFIFOBp, 0x00000008, 0x00002028)
        SET_REG_ADDRESS(TM.QMgr.RemoveQueueFIFOBp, 0x00000008, 0x00002030)
        SET_REG_ADDRESS(TM.QMgr.PktEnqFSMFIFOBp, 0x00000008, 0x00002038)
        SET_REG_ADDRESS(TM.QMgr.TMtoTMIncPktsFIFOBp, 0x00000008, 0x00002040)
        SET_REG_ADDRESS(TM.QMgr.PgCtlRdCacheFIFOBp, 0x00000008, 0x00002048)
        SET_REG_ADDRESS(TM.QMgr.InputSynchFifoConf, 0x00000008, 0x00002080)
        SET_REG_ADDRESS(TM.QMgr.FromPipeNonErrPktCnt, 0x00000008, 0x00002100)
        SET_REG_ADDRESS(TM.QMgr.FromPipeErrDrpPktCnt, 0x00000008, 0x00002108)
        SET_REG_ADDRESS(TM.QMgr.FromPipeErrPasPktCnt, 0x00000008, 0x00002110)
        SET_REG_ADDRESS(TM.QMgr.UninstalledQueueDrpPktCnt, 0x00000008, 0x00002118)
        SET_REG_ADDRESS(TM.QMgr.VerMisDrpPktCnt, 0x00000008, 0x00002120)
        SET_REG_ADDRESS(TM.QMgr.TMtoTMCRCErrDrpPktCnt, 0x00000008, 0x00002128)
        SET_REG_ADDRESS(TM.QMgr.PerfCntrsPortAlloc, 0x00000008, 0x000021a0)
        SET_REG_ADDRESS(TM.QMgr.PerfCntrsTimerPer, 0x00000008, 0x000021a8)
        SET_REG_ADDRESS(TM.QMgr.UninstalledQueueLog, 0x00000008, 0x00018000)
        SET_REG_ADDRESS(TM.QMgr.Mg2tm_error_log, 0x00000008, 0x00000110)
        SET_REG_ADDRESS(TM.QMgr.Eco_Reg, 0x00000008, 0x00000118)
        SET_REG_ADDRESS(TM.QMgr.EccConfig, 0x00000008, 0x00000108)
        SET_REG_ADDRESS(TM.QMgr.Internal_Correctable_ECC_Error_status, 0x00000008, 0x00009808)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams0, 0x00000008, 0x00018800)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams1, 0x00000008, 0x00018808)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams2, 0x00000008, 0x00018810)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams3, 0x00000008, 0x00018818)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams4, 0x00000008, 0x00018820)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams5, 0x00000008, 0x00018828)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams6, 0x00000008, 0x00018830)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams7, 0x00000008, 0x00018838)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams8, 0x00000008, 0x00018840)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams9, 0x00000008, 0x00018848)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams10, 0x00000008, 0x00018850)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams11, 0x00000008, 0x00018858)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams12, 0x00000008, 0x00018860)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams13, 0x00000008, 0x00018868)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams14, 0x00000008, 0x00018870)
        SET_REG_ADDRESS(TM.QMgr.PkgEccMemParams15, 0x00000008, 0x00018878)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams0, 0x00000008, 0x00018900)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams1, 0x00000008, 0x00018908)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams2, 0x00000008, 0x00018910)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams3, 0x00000008, 0x00018918)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams4, 0x00000008, 0x00018920)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams5, 0x00000008, 0x00018928)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams6, 0x00000008, 0x00018930)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams7, 0x00000008, 0x00018938)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams8, 0x00000008, 0x00018940)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams9, 0x00000008, 0x00018948)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams10, 0x00000008, 0x00018950)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams11, 0x00000008, 0x00018958)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams12, 0x00000008, 0x00018960)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams13, 0x00000008, 0x00018968)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams14, 0x00000008, 0x00018970)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams15, 0x00000008, 0x00018978)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams16, 0x00000008, 0x00018980)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams17, 0x00000008, 0x00018988)
        SET_REG_ADDRESS(TM.QMgr.PageEccMemParams18, 0x00000008, 0x00018990)
        SET_REG_ADDRESS(TM.QMgr.ROC_Shadow, 0x00000008, 0x00000120)
        SET_REG_ADDRESS(TM.QMgr.PageAdmission, 0x00000008, 0x00008800)
        SET_REG_ADDRESS(TM.QMgr.PgDeqFSMCache, 0x00000008, 0x00009000)
        SET_REG_ADDRESS(TM.QMgr.PkgBoth, 0x00000009, 0x00180000)
        SET_REG_ADDRESS(TM.QMgr.PkgTail, 0x00000009, 0x00200000)
        SET_REG_ADDRESS(TM.QMgr.PkgHead, 0x00000009, 0x00280000)
        SET_REG_ADDRESS(TM.QMgr.PgEnq, 0x00000009, 0x00300000)
        SET_REG_ADDRESS(TM.QMgr.PgDeq, 0x00000009, 0x00380000)
        SET_REG_ADDRESS(TM.QMgr.PgDeqCacheLSB, 0x00000009, 0x00400000)
        SET_REG_ADDRESS(TM.QMgr.PgDeqCacheMSB, 0x00000009, 0x00400800)
        SET_REG_ADDRESS(TM.QMgr.PortChunksEmitPerSel, 0x00000008, 0x00000800)
        SET_REG_ADDRESS(TM.QMgr.ReorderBufferAdmission, 0x00000008, 0x00001800)
        SET_REG_ADDRESS(TM.QMgr.PerfCntrsSets, 0x00000008, 0x00002180)
        SET_REG_ADDRESS(TM.QMgr.FreePkgStus_Grp, 0x00000008, 0x00010000)
        SET_REG_ADDRESS(TM.QMgr.FreePgStus_Grp, 0x00000008, 0x00010400)
        SET_REG_ADDRESS(TM.QMgr.PortFlush, 0x00000008, 0x00020000)
        SET_REG_ADDRESS(TM.QMgr.QueueFlush, 0x00000008, 0x00080000)
        SET_REG_ADDRESS(TM.QMgr.QueueLength, 0x00000008, 0x00100000)
/************************************************************************************/
/*   to  change     all entries  with  .Table,  Cos, & Color  to structures */
/************************************************************************************/
        SET_REG_ADDRESS(TM.Drop.ErrStus, 0x00000010, 0x00000000)
        SET_REG_ADDRESS(TM.Drop.FirstExc, 0x00000010, 0x00000008)
        SET_REG_ADDRESS(TM.Drop.ErrCnt, 0x00000010, 0x00000010)
        SET_REG_ADDRESS(TM.Drop.ExcCnt, 0x00000010, 0x00000018)
        SET_REG_ADDRESS(TM.Drop.ExcMask, 0x00000010, 0x00000020)
        SET_REG_ADDRESS(TM.Drop.Id, 0x00000010, 0x00000028)
        SET_REG_ADDRESS(TM.Drop.ForceErr, 0x00000010, 0x00000030)
        SET_REG_ADDRESS(TM.Drop.WREDDropProbMode, 0x00000010, 0x00000088)
        SET_REG_ADDRESS(TM.Drop.WREDMaxProbModePerColor, 0x00000010, 0x00000090)
        SET_REG_ADDRESS(TM.Drop.DPSource, 0x00000010, 0x00000098)
        SET_REG_ADDRESS(TM.Drop.RespLocalDPSel, 0x00000010, 0x000000a0)
        SET_REG_ADDRESS(TM.Drop.TMtoTMPktGenQuantum, 0x00000010, 0x00000100)
        SET_REG_ADDRESS(TM.Drop.TMtoTMDPCoSSel, 0x00000010, 0x00000108)
        SET_REG_ADDRESS(TM.Drop.AgingUpdEnable, 0x00000010, 0x00000180)
        SET_REG_ADDRESS(TM.Drop.Drp_Decision_to_Query_debug, 0x00000010, 0x000000a8)
        SET_REG_ADDRESS(TM.Drop.Drp_Decision_hierarchy_to_Query_debug, 0x00000010, 0x000000b0)
        SET_REG_ADDRESS(TM.Drop.EccConfig, 0x00000010, 0x10000008)
        SET_REG_ADDRESS(TM.Drop.EccMemParams0, 0x00000010, 0x10000080)
        SET_REG_ADDRESS(TM.Drop.EccMemParams1, 0x00000010, 0x10000088)
        SET_REG_ADDRESS(TM.Drop.EccMemParams2, 0x00000010, 0x10000090)
        SET_REG_ADDRESS(TM.Drop.EccMemParams3, 0x00000010, 0x10000098)
        SET_REG_ADDRESS(TM.Drop.EccMemParams4, 0x00000010, 0x100000a0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams5, 0x00000010, 0x100000a8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams6, 0x00000010, 0x100000b0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams7, 0x00000010, 0x100000b8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams8, 0x00000010, 0x100000c0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams9, 0x00000010, 0x100000c8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams10, 0x00000010, 0x100000d0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams11, 0x00000010, 0x100000d8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams12, 0x00000010, 0x100000e0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams13, 0x00000010, 0x100000e8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams14, 0x00000010, 0x100000f0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams15, 0x00000010, 0x100000f8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams16, 0x00000010, 0x10000100)
        SET_REG_ADDRESS(TM.Drop.EccMemParams17, 0x00000010, 0x10000108)
        SET_REG_ADDRESS(TM.Drop.EccMemParams18, 0x00000010, 0x10000110)
        SET_REG_ADDRESS(TM.Drop.EccMemParams19, 0x00000010, 0x10000118)
        SET_REG_ADDRESS(TM.Drop.EccMemParams20, 0x00000010, 0x10000120)
        SET_REG_ADDRESS(TM.Drop.EccMemParams21, 0x00000010, 0x10000128)
        SET_REG_ADDRESS(TM.Drop.EccMemParams22, 0x00000010, 0x10000130)
        SET_REG_ADDRESS(TM.Drop.EccMemParams23, 0x00000010, 0x10000138)
        SET_REG_ADDRESS(TM.Drop.EccMemParams24, 0x00000010, 0x10000140)
        SET_REG_ADDRESS(TM.Drop.EccMemParams25, 0x00000010, 0x10000148)
        SET_REG_ADDRESS(TM.Drop.EccMemParams26, 0x00000010, 0x10000150)
        SET_REG_ADDRESS(TM.Drop.EccMemParams27, 0x00000010, 0x10000158)
        SET_REG_ADDRESS(TM.Drop.EccMemParams28, 0x00000010, 0x10000160)
        SET_REG_ADDRESS(TM.Drop.EccMemParams29, 0x00000010, 0x10000168)
        SET_REG_ADDRESS(TM.Drop.EccMemParams30, 0x00000010, 0x10000170)
        SET_REG_ADDRESS(TM.Drop.EccMemParams31, 0x00000010, 0x10000178)
        SET_REG_ADDRESS(TM.Drop.EccMemParams32, 0x00000010, 0x10000180)
        SET_REG_ADDRESS(TM.Drop.EccMemParams33, 0x00000010, 0x10000188)
        SET_REG_ADDRESS(TM.Drop.EccMemParams34, 0x00000010, 0x10000190)
        SET_REG_ADDRESS(TM.Drop.EccMemParams35, 0x00000010, 0x10000198)
        SET_REG_ADDRESS(TM.Drop.EccMemParams36, 0x00000010, 0x100001a0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams37, 0x00000010, 0x100001a8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams38, 0x00000010, 0x100001b0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams39, 0x00000010, 0x100001b8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams40, 0x00000010, 0x100001c0)
        SET_REG_ADDRESS(TM.Drop.EccMemParams41, 0x00000010, 0x100001c8)
        SET_REG_ADDRESS(TM.Drop.EccMemParams42, 0x00000010, 0x100001d0)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[0], 0x00000010, 0x00800000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[1], 0x00000010, 0x00800800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[2], 0x00000010, 0x00801000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[3], 0x00000010, 0x00801800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[4], 0x00000010, 0x00802000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[5], 0x00000010, 0x00802800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[6], 0x00000010, 0x00803000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParams_CoS[7], 0x00000010, 0x00803800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[0], 0x00000010, 0x00804000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[1], 0x00000010, 0x00804800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[2], 0x00000010, 0x00805000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[3], 0x00000010, 0x00805800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[4], 0x00000010, 0x00806000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[5], 0x00000010, 0x00806800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[6], 0x00000010, 0x00807000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatio_CoS[7], 0x00000010, 0x00807800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[0], 0x00000010, 0x00808000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[1], 0x00000010, 0x00808800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[2], 0x00000010, 0x00809000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[3], 0x00000010, 0x00809800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[4], 0x00000010, 0x0080a000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[5], 0x00000010, 0x0080a800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[6], 0x00000010, 0x0080b000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThresh_CoS[7], 0x00000010, 0x0080b800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[0], 0x00000010, 0x0080c000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[1], 0x00000010, 0x0080c800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[2], 0x00000010, 0x0080d000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[3], 0x00000010, 0x0080d800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[4], 0x00000010, 0x0080e000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[5], 0x00000010, 0x0080e800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[6], 0x00000010, 0x0080f000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatio_CoS[7], 0x00000010, 0x0080f800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[0], 0x00000010, 0x00810000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[1], 0x00000010, 0x00810800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[2], 0x00000010, 0x00811000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[3], 0x00000010, 0x00811800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[4], 0x00000010, 0x00812000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[5], 0x00000010, 0x00812800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[6], 0x00000010, 0x00813000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThresh_CoS[7], 0x00000010, 0x00813800)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[0], 0x00000010, 0x00818000)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[1], 0x00000010, 0x00818400)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[2], 0x00000010, 0x00818800)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[3], 0x00000010, 0x00818c00)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[4], 0x00000010, 0x00819000)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[5], 0x00000010, 0x00819400)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[6], 0x00000010, 0x00819800)
        SET_REG_ADDRESS(TM.Drop.PortREDCurve_CoS[7], 0x00000010, 0x00819c00)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDParamsG, 0x00000010, 0x00840000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDScaleRatioG, 0x00000010, 0x00840800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDMinThreshG, 0x00000010, 0x00841000)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfWREDDPRatioG, 0x00000010, 0x00841800)
        SET_REG_ADDRESS(TM.Drop.PortDropPrfTailDrpThreshG, 0x00000010, 0x00842000)
        SET_REG_ADDRESS(TM.Drop.PortREDCurveG, 0x00000010, 0x00848000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[0], 0x00000010, 0x01000000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[1], 0x00000010, 0x01000200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[2], 0x00000010, 0x01000400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[3], 0x00000010, 0x01000600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[4], 0x00000010, 0x01000800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[5], 0x00000010, 0x01000a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[6], 0x00000010, 0x01000c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProfPtr_CoS[7], 0x00000010, 0x01000e00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[0], 0x00000010, 0x01001000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[1], 0x00000010, 0x01001200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[2], 0x00000010, 0x01001400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[3], 0x00000010, 0x01001600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[4], 0x00000010, 0x01001800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[5], 0x00000010, 0x01001a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[6], 0x00000010, 0x01001c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDParams_CoS[7], 0x00000010, 0x01001e00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[0], 0x00000010, 0x01002000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[1], 0x00000010, 0x01002200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[2], 0x00000010, 0x01002400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[3], 0x00000010, 0x01002600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[4], 0x00000010, 0x01002800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[5], 0x00000010, 0x01002a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[6], 0x00000010, 0x01002c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDScaleRatio_CoS[7], 0x00000010, 0x01002e00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[0], 0x00000010, 0x01003000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[1], 0x00000010, 0x01003200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[2], 0x00000010, 0x01003400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[3], 0x00000010, 0x01003600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[4], 0x00000010, 0x01003800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[5], 0x00000010, 0x01003a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[6], 0x00000010, 0x01003c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDMinThresh_CoS[7], 0x00000010, 0x01003e00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[0], 0x00000010, 0x01004000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[1], 0x00000010, 0x01004200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[2], 0x00000010, 0x01004400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[3], 0x00000010, 0x01004600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[4], 0x00000010, 0x01004800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[5], 0x00000010, 0x01004a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[6], 0x00000010, 0x01004c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfWREDDPRatio_CoS[7], 0x00000010, 0x01004e00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[0], 0x00000010, 0x01005000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[1], 0x00000010, 0x01005200)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[2], 0x00000010, 0x01005400)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[3], 0x00000010, 0x01005600)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[4], 0x00000010, 0x01005800)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[5], 0x00000010, 0x01005a00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[6], 0x00000010, 0x01005c00)
        SET_REG_ADDRESS(TM.Drop.ClvlDropPrfTailDrpThresh_CoS[7], 0x00000010, 0x01005e00)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[0], 0x00000010, 0x01008000)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[1], 0x00000010, 0x01008400)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[2], 0x00000010, 0x01008800)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[3], 0x00000010, 0x01008c00)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[4], 0x00000010, 0x01009000)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[5], 0x00000010, 0x01009400)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[6], 0x00000010, 0x01009800)
        SET_REG_ADDRESS(TM.Drop.ClvlREDCurve_CoS[7], 0x00000010, 0x01009c00)

        SET_REG_ADDRESS(TM.Drop.BlvlDropProfPtr, 0x00000010, 0x01800000)
        SET_REG_ADDRESS(TM.Drop.BlvlDropPrfWREDParams, 0x00000010, 0x01801000)
        SET_REG_ADDRESS(TM.Drop.BlvlDropPrfWREDScaleRatio, 0x00000010, 0x01801200)
        SET_REG_ADDRESS(TM.Drop.BlvlDropPrfWREDMinThresh, 0x00000010, 0x01801400)
        SET_REG_ADDRESS(TM.Drop.BlvlDropPrfWREDDPRatio, 0x00000010, 0x01801600)
        SET_REG_ADDRESS(TM.Drop.BlvlDropPrfTailDrpThresh, 0x00000010, 0x01801800)
        SET_REG_ADDRESS(TM.Drop.BlvlREDCurve_Table[0], 0x00000010, 0x01802000)
        SET_REG_ADDRESS(TM.Drop.BlvlREDCurve_Table[1], 0x00000010, 0x01802100)
        SET_REG_ADDRESS(TM.Drop.BlvlREDCurve_Table[2], 0x00000010, 0x01802200)
        SET_REG_ADDRESS(TM.Drop.BlvlREDCurve_Table[3], 0x00000010, 0x01802300)

        SET_REG_ADDRESS(TM.Drop.AlvlDropProfPtr, 0x00000010, 0x02000000)
        SET_REG_ADDRESS(TM.Drop.AlvlDropPrfWREDParams, 0x00000010, 0x02008000)
        SET_REG_ADDRESS(TM.Drop.AlvlDropPrfWREDScaleRatio, 0x00000010, 0x02009000)
        SET_REG_ADDRESS(TM.Drop.AlvlDropPrfWREDMinThresh, 0x00000010, 0x0200a000)
        SET_REG_ADDRESS(TM.Drop.AlvlDropPrfWREDDPRatio, 0x00000010, 0x0200a800)
        SET_REG_ADDRESS(TM.Drop.AlvlDropPrfTailDrpThresh, 0x00000010, 0x0200b000)
        SET_REG_ADDRESS(TM.Drop.AlvlREDCurve_Color[0], 0x00000010, 0x0200c000)
        SET_REG_ADDRESS(TM.Drop.AlvlREDCurve_Color[1], 0x00000010, 0x0200c800)
        SET_REG_ADDRESS(TM.Drop.AlvlREDCurve_Color[2], 0x00000010, 0x0200d000)
        
		SET_REG_ADDRESS(TM.Drop.QueueDropProfPtr, 0x00000010, 0x02800000)
        SET_REG_ADDRESS(TM.Drop.QueueDropPrfWREDParams, 0x00000010, 0x02820000)
        SET_REG_ADDRESS(TM.Drop.QueueDropPrfWREDScaleRatio, 0x00000010, 0x02824000)
        SET_REG_ADDRESS(TM.Drop.QueueDropPrfWREDMinThresh, 0x00000010, 0x02828000)
        SET_REG_ADDRESS(TM.Drop.QueueDropPrfWREDDPRatio, 0x00000010, 0x0282c000)
        SET_REG_ADDRESS(TM.Drop.QueueDropPrfTailDrpThresh, 0x00000010, 0x02830000)
        SET_REG_ADDRESS(TM.Drop.QueueREDCurve_Color[0], 0x00000010, 0x02834000)
        SET_REG_ADDRESS(TM.Drop.QueueREDCurve_Color[1], 0x00000010, 0x02834800)
        SET_REG_ADDRESS(TM.Drop.QueueREDCurve_Color[2], 0x00000010, 0x02835000)
        SET_REG_ADDRESS(TM.Drop.QueueCoSConf, 0x00000010, 0x02880000)

        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLength, 0x00000010, 0x08800000)
        SET_REG_ADDRESS(TM.Drop.PortDropProb, 0x00000010, 0x08800800)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[0], 0x00000010, 0x08804000)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[1], 0x00000010, 0x08804800)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[2], 0x00000010, 0x08805000)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[3], 0x00000010, 0x08805800)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[4], 0x00000010, 0x08806000)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[5], 0x00000010, 0x08806800)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[6], 0x00000010, 0x08807000)
        SET_REG_ADDRESS(TM.Drop.PortInstAndAvgQueueLengthPerCoS[7], 0x00000010, 0x08807800)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[0], 0x00000010, 0x08808000)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[1], 0x00000010, 0x08808800)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[2], 0x00000010, 0x08809000)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[3], 0x00000010, 0x08809800)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[4], 0x00000010, 0x0880a000)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[5], 0x00000010, 0x0880a800)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[6], 0x00000010, 0x0880b000)
        SET_REG_ADDRESS(TM.Drop.PortDropProbPerCoS[7], 0x00000010, 0x0880b800)

        SET_REG_ADDRESS(TM.Drop.ClvlInstAndAvgQueueLength, 0x00000010, 0x09000000)
        SET_REG_ADDRESS(TM.Drop.ClvlDropProb, 0x00000010, 0x09008000)
        SET_REG_ADDRESS(TM.Drop.BlvlInstAndAvgQueueLength, 0x00000010, 0x09800000)
        SET_REG_ADDRESS(TM.Drop.BlvlDropProb, 0x00000010, 0x09808000)
        SET_REG_ADDRESS(TM.Drop.AlvlInstAndAvgQueueLength, 0x00000010, 0x0a000000)
        SET_REG_ADDRESS(TM.Drop.AlvlDropProb, 0x00000010, 0x0a020000)
        SET_REG_ADDRESS(TM.Drop.QueueAvgQueueLength, 0x00000010, 0x0a800000)
        SET_REG_ADDRESS(TM.Drop.QueueDropProb, 0x00000010, 0x0a880000)
/************************************************************************************/
        SET_REG_ADDRESS(TM.RCB.DummyResponseMode, 0x00000018, 0x00002008)
        SET_REG_ADDRESS(TM.RCB.DecoderFIFOLevel, 0x00000018, 0x00010000)
        SET_REG_ADDRESS(TM.RCB.BPSnapshot0, 0x00000018, 0x00010008)
        SET_REG_ADDRESS(TM.RCB.BPSnapshot1, 0x00000018, 0x00010010)
        SET_REG_ADDRESS(TM.RCB.BPSnapshot2, 0x00000018, 0x00010018)
        SET_REG_ADDRESS(TM.RCB.BPSnapshot3, 0x00000018, 0x00010020)
        SET_REG_ADDRESS(TM.RCB.BPSnapshotMask0, 0x00000018, 0x00010028)
        SET_REG_ADDRESS(TM.RCB.BPSnapshotMask1, 0x00000018, 0x00010030)
        SET_REG_ADDRESS(TM.RCB.BPSnapshotMask2, 0x00000018, 0x00010038)
        SET_REG_ADDRESS(TM.RCB.BPSnapshotMask3, 0x00000018, 0x00010040)
        SET_REG_ADDRESS(TM.RCB.BPSnapshotCnt, 0x00000018, 0x00010048)
        SET_REG_ADDRESS(TM.RCB.FIFOOvrflowErrStus, 0x00000018, 0x00010050)
        SET_REG_ADDRESS(TM.RCB.CRCErrLog, 0x00000018, 0x00010058)
        SET_REG_ADDRESS(TM.RCB.ExtECCErrCtlLog, 0x00000018, 0x00010060)
        SET_REG_ADDRESS(TM.RCB.ErrStus, 0x00000018, 0x00000000)
        SET_REG_ADDRESS(TM.RCB.FirstExc, 0x00000018, 0x00000008)
        SET_REG_ADDRESS(TM.RCB.ErrCnt, 0x00000018, 0x00000010)
        SET_REG_ADDRESS(TM.RCB.ExcCnt, 0x00000018, 0x00000018)
        SET_REG_ADDRESS(TM.RCB.ExcMask, 0x00000018, 0x00000020)
        SET_REG_ADDRESS(TM.RCB.ID, 0x00000018, 0x00000028)
        SET_REG_ADDRESS(TM.RCB.ForceErr, 0x00000018, 0x00000030)
        SET_REG_ADDRESS(TM.RCB.PerfCntrsPortAlloc, 0x00000018, 0x00000820)
        SET_REG_ADDRESS(TM.RCB.PerfCntrsTimerPer, 0x00000018, 0x00000828)
        SET_REG_ADDRESS(TM.RCB.NonErrToSMSPktCnt, 0x00000018, 0x00001000)
        SET_REG_ADDRESS(TM.RCB.CRCErrPktCnt, 0x00000018, 0x00001008)
        SET_REG_ADDRESS(TM.RCB.SMSErrPasPktCnt, 0x00000018, 0x00001010)
        SET_REG_ADDRESS(TM.RCB.PortFlushDrpDataPktCnt, 0x00000018, 0x00001018)
        SET_REG_ADDRESS(TM.RCB.RCBTxFIFOBp, 0x00000018, 0x00001800)
        SET_REG_ADDRESS(TM.RCB.ChunkRdDataDecoderFIFOBp, 0x00000018, 0x00001808)
        SET_REG_ADDRESS(TM.RCB.Ecc_Config, 0x00000018, 0x00001810)
        SET_REG_ADDRESS(TM.RCB.EccMemParams0, 0x00000018, 0x00001818)
        SET_REG_ADDRESS(TM.RCB.ROC_shadow, 0x00000018, 0x00001020)
        SET_REG_ADDRESS(TM.RCB.Message_Packet_via_Sync_FIFO, 0x00000018, 0x00001028)
        SET_REG_ADDRESS(TM.RCB.ExtECCErrDataLog, 0x00000018, 0x00010080)
        SET_REG_ADDRESS(TM.RCB.PerfCntrsSets, 0x00000018, 0x00000800)
/************************************************************************************/
        SET_REG_ADDRESS(TM.Sched.GeneralEccErrStatus, 0x00000081, 0x00000000)
        SET_REG_ADDRESS(TM.Sched.ScrubDisable, 0x00000081, 0x00000080)
        SET_REG_ADDRESS(TM.Sched.TreeRRDWRRStatus, 0x00000081, 0x00000800)
        SET_REG_ADDRESS(TM.Sched.PortPerRateShpPrmsInt, 0x00000081, 0x00802800)
        SET_REG_ADDRESS(TM.Sched.PortEccErrStatus, 0x00000081, 0x00802808)
        SET_REG_ADDRESS(TM.Sched.PortBankEccErrStatus, 0x00000081, 0x00802810)
        SET_REG_ADDRESS(TM.Sched.PortPerStatus, 0x00000081, 0x008028c0)
        SET_REG_ADDRESS(TM.Sched.ClvlPerRateShpPrmsInt, 0x00000081, 0x01004800)
        SET_REG_ADDRESS(TM.Sched.ClvlEccErrStatus, 0x00000081, 0x01004808)
        SET_REG_ADDRESS(TM.Sched.ClvlMyQEccErrStatus, 0x00000081, 0x01004810)
        SET_REG_ADDRESS(TM.Sched.ClvlBankEccErrStatus, 0x00000081, 0x01004818)
        SET_REG_ADDRESS(TM.Sched.ClvlPerStatus, 0x00000081, 0x01006000)
        SET_REG_ADDRESS(TM.Sched.BlvlPerRateShpPrmsInt, 0x00000081, 0x01840000)
        SET_REG_ADDRESS(TM.Sched.BlvlEccErrStatus, 0x00000081, 0x01840008)
        SET_REG_ADDRESS(TM.Sched.BlvlMyQEccErrStatus, 0x00000081, 0x01840010)
        SET_REG_ADDRESS(TM.Sched.BlvlBankEccErrStatus, 0x00000081, 0x01840018)
        SET_REG_ADDRESS(TM.Sched.BlvlPerStatus, 0x00000081, 0x01840020)
        SET_REG_ADDRESS(TM.Sched.AlvlPerRateShpPrmsInt, 0x00000081, 0x02090000)
        SET_REG_ADDRESS(TM.Sched.AlvlEccErrStatus, 0x00000081, 0x02090008)
        SET_REG_ADDRESS(TM.Sched.AlvlMyQEccErrStatus, 0x00000081, 0x02090010)
        SET_REG_ADDRESS(TM.Sched.AlvlBankEccErrStatus, 0x00000081, 0x02090018)
        SET_REG_ADDRESS(TM.Sched.AlvlPerStatus, 0x00000081, 0x02090020)
        SET_REG_ADDRESS(TM.Sched.QueueEccErrStatus, 0x00000081, 0x02898000)
        SET_REG_ADDRESS(TM.Sched.QueuePerRateShpPrmsInt, 0x00000081, 0x02898008)
        SET_REG_ADDRESS(TM.Sched.QueueBank0EccErrStatus, 0x00000081, 0x02898080)
        SET_REG_ADDRESS(TM.Sched.QueueBank1EccErrStatus, 0x00000081, 0x02898088)
        SET_REG_ADDRESS(TM.Sched.QueueBank2EccErrStatus, 0x00000081, 0x02898090)
        SET_REG_ADDRESS(TM.Sched.QueueBank3EccErrStatus, 0x00000081, 0x02898098)
        SET_REG_ADDRESS(TM.Sched.ErrStus, 0x00000080, 0x00000000)
        SET_REG_ADDRESS(TM.Sched.FirstExc, 0x00000080, 0x00000008)
        SET_REG_ADDRESS(TM.Sched.ErrCnt, 0x00000080, 0x00000010)
        SET_REG_ADDRESS(TM.Sched.ExcCnt, 0x00000080, 0x00000018)
        SET_REG_ADDRESS(TM.Sched.ExcMask, 0x00000080, 0x00000020)
        SET_REG_ADDRESS(TM.Sched.Id, 0x00000080, 0x00000028)
        SET_REG_ADDRESS(TM.Sched.ForceErr, 0x00000080, 0x00000030)
        SET_REG_ADDRESS(TM.Sched.ScrubSlotAlloc, 0x00000080, 0x00000080)
        SET_REG_ADDRESS(TM.Sched.TMtoTMBpFIFOBp, 0x00000080, 0x00000088)
        SET_REG_ADDRESS(TM.Sched.TreeDeqEn, 0x00000080, 0x00020000)
        SET_REG_ADDRESS(TM.Sched.TreeDWRRPrioEn, 0x00000080, 0x00020008)
        SET_REG_ADDRESS(TM.Sched.PortPerConf, 0x00000080, 0x00800000)
        SET_REG_ADDRESS(TM.Sched.PortPerRateShpPrms, 0x00000080, 0x00800008)
        SET_REG_ADDRESS(TM.Sched.PortExtBPEn, 0x00000080, 0x00800010)
        SET_REG_ADDRESS(TM.Sched.PortDWRRBytesPerBurstsLimit, 0x00000080, 0x00800018)
        SET_REG_ADDRESS(TM.Sched.ClvlPerConf, 0x00000080, 0x01000000)
        SET_REG_ADDRESS(TM.Sched.ClvlPerRateShpPrms, 0x00000080, 0x01000008)
        SET_REG_ADDRESS(TM.Sched.BlvlPerConf, 0x00000080, 0x01800000)
        SET_REG_ADDRESS(TM.Sched.BlvlPerRateShpPrms, 0x00000080, 0x01800008)
        SET_REG_ADDRESS(TM.Sched.AlvlPerConf, 0x00000080, 0x02000000)
        SET_REG_ADDRESS(TM.Sched.AlvlPerRateShpPrms, 0x00000080, 0x02000008)
        SET_REG_ADDRESS(TM.Sched.QueuePerConf, 0x00000080, 0x02800000)
        SET_REG_ADDRESS(TM.Sched.QueuePerRateShpPrms, 0x00000080, 0x02800008)
        SET_REG_ADDRESS(TM.Sched.EccConfig, 0x00000081, 0x03000000)
        SET_REG_ADDRESS(TM.Sched.EccMemParams0, 0x00000081, 0x03000080)
        SET_REG_ADDRESS(TM.Sched.EccMemParams1, 0x00000081, 0x03000088)
        SET_REG_ADDRESS(TM.Sched.EccMemParams2, 0x00000081, 0x03000090)
        SET_REG_ADDRESS(TM.Sched.EccMemParams3, 0x00000081, 0x03000098)
        SET_REG_ADDRESS(TM.Sched.EccMemParams4, 0x00000081, 0x030000a0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams5, 0x00000081, 0x030000a8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams6, 0x00000081, 0x030000b0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams7, 0x00000081, 0x030000b8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams8, 0x00000081, 0x030000c0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams9, 0x00000081, 0x030000c8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams10, 0x00000081, 0x030000d0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams11, 0x00000081, 0x030000d8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams12, 0x00000081, 0x030000e0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams13, 0x00000081, 0x030000e8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams14, 0x00000081, 0x030000f0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams15, 0x00000081, 0x030000f8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams16, 0x00000081, 0x03000100)
        SET_REG_ADDRESS(TM.Sched.EccMemParams17, 0x00000081, 0x03000108)
        SET_REG_ADDRESS(TM.Sched.EccMemParams18, 0x00000081, 0x03000110)
        SET_REG_ADDRESS(TM.Sched.EccMemParams19, 0x00000081, 0x03000118)
        SET_REG_ADDRESS(TM.Sched.EccMemParams20, 0x00000081, 0x03000120)
        SET_REG_ADDRESS(TM.Sched.EccMemParams21, 0x00000081, 0x03000128)
        SET_REG_ADDRESS(TM.Sched.EccMemParams22, 0x00000081, 0x03000130)
        SET_REG_ADDRESS(TM.Sched.EccMemParams23, 0x00000081, 0x03000138)
        SET_REG_ADDRESS(TM.Sched.EccMemParams24, 0x00000081, 0x03000140)
        SET_REG_ADDRESS(TM.Sched.EccMemParams25, 0x00000081, 0x03000148)
        SET_REG_ADDRESS(TM.Sched.EccMemParams26, 0x00000081, 0x03000150)
        SET_REG_ADDRESS(TM.Sched.EccMemParams27, 0x00000081, 0x03000158)
        SET_REG_ADDRESS(TM.Sched.EccMemParams28, 0x00000081, 0x03000160)
        SET_REG_ADDRESS(TM.Sched.EccMemParams29, 0x00000081, 0x03000168)
        SET_REG_ADDRESS(TM.Sched.EccMemParams30, 0x00000081, 0x03000170)
        SET_REG_ADDRESS(TM.Sched.EccMemParams31, 0x00000081, 0x03000178)
        SET_REG_ADDRESS(TM.Sched.EccMemParams32, 0x00000081, 0x03000180)
        SET_REG_ADDRESS(TM.Sched.EccMemParams33, 0x00000081, 0x03000188)
        SET_REG_ADDRESS(TM.Sched.EccMemParams34, 0x00000081, 0x03000190)
        SET_REG_ADDRESS(TM.Sched.EccMemParams35, 0x00000081, 0x03000198)
        SET_REG_ADDRESS(TM.Sched.EccMemParams36, 0x00000081, 0x030001a0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams37, 0x00000081, 0x030001a8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams38, 0x00000081, 0x030001b0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams39, 0x00000081, 0x030001b8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams40, 0x00000081, 0x030001c0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams41, 0x00000081, 0x030001c8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams42, 0x00000081, 0x030001d0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams43, 0x00000081, 0x030001d8)
        SET_REG_ADDRESS(TM.Sched.EccMemParams44, 0x00000081, 0x030001e0)
        SET_REG_ADDRESS(TM.Sched.EccMemParams45, 0x00000081, 0x030001e8)
        SET_REG_ADDRESS(TM.Sched.PortNodeState, 0x00000081, 0x00800000)
        SET_REG_ADDRESS(TM.Sched.PortMyQ, 0x00000081, 0x00800800)
        SET_REG_ADDRESS(TM.Sched.PortRRDWRRStatusLSB, 0x00000081, 0x00801000)
        SET_REG_ADDRESS(TM.Sched.PortRRDWRRStatusMSB, 0x00000081, 0x00801800)
        SET_REG_ADDRESS(TM.Sched.PortWFS, 0x00000081, 0x00802000)
        SET_REG_ADDRESS(TM.Sched.PortBPFromSTF, 0x00000081, 0x00802880)
        SET_REG_ADDRESS(TM.Sched.PortBPFromQMgr, 0x00000081, 0x008028a0)
        SET_REG_ADDRESS(TM.Sched.ClvlNodeState, 0x00000081, 0x01000000)
        SET_REG_ADDRESS(TM.Sched.ClvlMyQ, 0x00000081, 0x01001000)
        SET_REG_ADDRESS(TM.Sched.ClvlRRDWRRStatusLSB, 0x00000081, 0x01002000)
        SET_REG_ADDRESS(TM.Sched.ClvlRRDWRRStatusMSB, 0x00000081, 0x01003000)
        SET_REG_ADDRESS(TM.Sched.ClvlWFS, 0x00000081, 0x01004000)
        SET_REG_ADDRESS(TM.Sched.ClvlL0ClusterState, 0x00000081, 0x01004100)
        SET_REG_ADDRESS(TM.Sched.ClvlBPFromSTF, 0x00000081, 0x01004880)
        SET_REG_ADDRESS(TM.Sched.TMtoTMClvlBPState, 0x00000081, 0x01005000)
        SET_REG_ADDRESS(TM.Sched.BlvlNodeState, 0x00000081, 0x01818000)
        SET_REG_ADDRESS(TM.Sched.BlvlMyQ, 0x00000081, 0x01820000)
        SET_REG_ADDRESS(TM.Sched.BlvlRRDWRRStatusLSB, 0x00000081, 0x01828000)
        SET_REG_ADDRESS(TM.Sched.BlvlRRDWRRStatusMSB, 0x00000081, 0x01830000)
        SET_REG_ADDRESS(TM.Sched.BlvlWFS, 0x00000081, 0x01838000)
        SET_REG_ADDRESS(TM.Sched.BlvlL0ClusterState, 0x00000081, 0x01838800)
        SET_REG_ADDRESS(TM.Sched.BlvlL1ClusterStateLo, 0x00000081, 0x01839000)
        SET_REG_ADDRESS(TM.Sched.BlvlL1ClusterStateHi, 0x00000081, 0x01839080)
        SET_REG_ADDRESS(TM.Sched.AlvlNodeState, 0x00000081, 0x02000000)
        SET_REG_ADDRESS(TM.Sched.AlvlMyQ, 0x00000081, 0x02020000)
        SET_REG_ADDRESS(TM.Sched.AlvlRRDWRRStatusLSB, 0x00000081, 0x02040000)
        SET_REG_ADDRESS(TM.Sched.AlvlRRDWRRStatusMSB, 0x00000081, 0x02060000)
        SET_REG_ADDRESS(TM.Sched.AlvlWFS, 0x00000081, 0x02080000)
        SET_REG_ADDRESS(TM.Sched.AlvlL0ClusterState, 0x00000081, 0x02088000)
        SET_REG_ADDRESS(TM.Sched.AlvlL1ClusterStateLo, 0x00000081, 0x0208c000)
        SET_REG_ADDRESS(TM.Sched.AlvlL1ClusterStateHi, 0x00000081, 0x0208c800)
        SET_REG_ADDRESS(TM.Sched.AlvlL2ClusterStateLo, 0x00000081, 0x0208d000)
        SET_REG_ADDRESS(TM.Sched.AlvlL2ClusterStateHi, 0x00000081, 0x0208d080)
        SET_REG_ADDRESS(TM.Sched.QueueNodeState, 0x00000081, 0x02800000)
        SET_REG_ADDRESS(TM.Sched.QueueWFS, 0x00000081, 0x02880000)
        SET_REG_ADDRESS(TM.Sched.QueueL0ClusterState, 0x00000081, 0x02888000)
        SET_REG_ADDRESS(TM.Sched.QueueL1ClusterStateLo, 0x00000081, 0x02890000)
        SET_REG_ADDRESS(TM.Sched.QueueL1ClusterStateHi, 0x00000081, 0x02890800)
        SET_REG_ADDRESS(TM.Sched.QueueL2ClusterStateLo, 0x00000081, 0x02891000)
        SET_REG_ADDRESS(TM.Sched.QueueL2ClusterStateHi, 0x00000081, 0x02891080)
        SET_REG_ADDRESS(TM.Sched.TMtoTMQueueBPState, 0x00000081, 0x02900000)
        SET_REG_ADDRESS(TM.Sched.QueuePerStatus, 0x00000081, 0x02980000)
        SET_REG_ADDRESS(TM.Sched.PortEligPrioFunc_Entry, 0x00000080, 0x00801000)
        SET_REG_ADDRESS(TM.Sched.PortEligPrioFuncPtr, 0x00000080, 0x00802000)
        SET_REG_ADDRESS(TM.Sched.PortTokenBucketTokenEnDiv, 0x00000080, 0x00802800)
        SET_REG_ADDRESS(TM.Sched.PortTokenBucketBurstSize, 0x00000080, 0x00803000)
        SET_REG_ADDRESS(TM.Sched.PortDWRRPrioEn, 0x00000080, 0x00803800)
        SET_REG_ADDRESS(TM.Sched.PortQuantumsPriosLo, 0x00000080, 0x00804000)
        SET_REG_ADDRESS(TM.Sched.PortQuantumsPriosHi, 0x00000080, 0x00804800)
        SET_REG_ADDRESS(TM.Sched.PortRangeMap, 0x00000080, 0x00805000)
        SET_REG_ADDRESS(TM.Sched.ClvlEligPrioFunc_Entry, 0x00000080, 0x01001000)
        SET_REG_ADDRESS(TM.Sched.ClvlEligPrioFuncPtr, 0x00000080, 0x01002000)
        SET_REG_ADDRESS(TM.Sched.ClvlTokenBucketTokenEnDiv, 0x00000080, 0x01003000)
        SET_REG_ADDRESS(TM.Sched.ClvlTokenBucketBurstSize, 0x00000080, 0x01004000)
        SET_REG_ADDRESS(TM.Sched.ClvlDWRRPrioEn, 0x00000080, 0x01005000)
        SET_REG_ADDRESS(TM.Sched.ClvlQuantum, 0x00000080, 0x01006000)
        SET_REG_ADDRESS(TM.Sched.ClvltoPortAndBlvlRangeMap, 0x00000080, 0x01007000)
        SET_REG_ADDRESS(TM.Sched.BlvlEligPrioFunc_Entry, 0x00000080, 0x01801000)
        SET_REG_ADDRESS(TM.Sched.BlvlEligPrioFuncPtr, 0x00000080, 0x01808000)
        SET_REG_ADDRESS(TM.Sched.BlvlTokenBucketTokenEnDiv, 0x00000080, 0x01810000)
        SET_REG_ADDRESS(TM.Sched.BlvlTokenBucketBurstSize, 0x00000080, 0x01818000)
        SET_REG_ADDRESS(TM.Sched.BlvlDWRRPrioEn, 0x00000080, 0x01820000)
        SET_REG_ADDRESS(TM.Sched.BlvlQuantum, 0x00000080, 0x01828000)
        SET_REG_ADDRESS(TM.Sched.BLvltoClvlAndAlvlRangeMap, 0x00000080, 0x01830000)
        SET_REG_ADDRESS(TM.Sched.AlvlEligPrioFunc_Entry, 0x00000080, 0x02001000)
        SET_REG_ADDRESS(TM.Sched.AlvlEligPrioFuncPtr, 0x00000080, 0x02020000)
        SET_REG_ADDRESS(TM.Sched.AlvlTokenBucketTokenEnDiv, 0x00000080, 0x02040000)
        SET_REG_ADDRESS(TM.Sched.AlvlTokenBucketBurstSize, 0x00000080, 0x02060000)
        SET_REG_ADDRESS(TM.Sched.AlvlDWRRPrioEn, 0x00000080, 0x02080000)
        SET_REG_ADDRESS(TM.Sched.AlvlQuantum, 0x00000080, 0x020a0000)
        SET_REG_ADDRESS(TM.Sched.ALvltoBlvlAndQueueRangeMap, 0x00000080, 0x020c0000)
        SET_REG_ADDRESS(TM.Sched.QueueEligPrioFunc, 0x00000080, 0x02800200)
        SET_REG_ADDRESS(TM.Sched.QueueEligPrioFuncPtr, 0x00000080, 0x02880000)
        SET_REG_ADDRESS(TM.Sched.QueueTokenBucketTokenEnDiv, 0x00000080, 0x02900000)
        SET_REG_ADDRESS(TM.Sched.QueueTokenBucketBurstSize, 0x00000080, 0x02980000)
        SET_REG_ADDRESS(TM.Sched.QueueQuantum, 0x00000080, 0x02a00000)
        SET_REG_ADDRESS(TM.Sched.QueueAMap, 0x00000080, 0x02a80000)
        SET_REG_ADDRESS(TM.Sched.PortShpBucketLvls, 0x00000080, 0x08800000)
        SET_REG_ADDRESS(TM.Sched.PortDefPrioHi, 0x00000080, 0x08800800)
        SET_REG_ADDRESS(TM.Sched.PortDefPrioLo, 0x00000080, 0x08801000)
        SET_REG_ADDRESS(TM.Sched.ClvlShpBucketLvls, 0x00000080, 0x09000000)
        SET_REG_ADDRESS(TM.Sched.CLvlDef, 0x00000080, 0x09001000)
        SET_REG_ADDRESS(TM.Sched.BlvlShpBucketLvls, 0x00000080, 0x09800000)
        SET_REG_ADDRESS(TM.Sched.BlvlDef, 0x00000080, 0x09808000)
        SET_REG_ADDRESS(TM.Sched.AlvlShpBucketLvls, 0x00000080, 0x0a000000)
        SET_REG_ADDRESS(TM.Sched.AlvlDef, 0x00000080, 0x0a020000)
        SET_REG_ADDRESS(TM.Sched.QueueShpBucketLvls, 0x00000080, 0x0a800000)
        SET_REG_ADDRESS(TM.Sched.QueueDef, 0x00000080, 0x0a880000)
/************************************************************************************/
        SET_REG_ADDRESS(TM.TM2TM.ErrStus, 0x00000088, 0x00000000)
        SET_REG_ADDRESS(TM.TM2TM.FirstExc, 0x00000088, 0x00000008)
        SET_REG_ADDRESS(TM.TM2TM.ErrCnt, 0x00000088, 0x00000010)
        SET_REG_ADDRESS(TM.TM2TM.ExcCnt, 0x00000088, 0x00000018)
        SET_REG_ADDRESS(TM.TM2TM.ExcMask, 0x00000088, 0x00000020)
        SET_REG_ADDRESS(TM.TM2TM.Id, 0x00000088, 0x00000028)
        SET_REG_ADDRESS(TM.TM2TM.ForceErr, 0x00000088, 0x00000030)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMEn, 0x00000088, 0x00000100)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMPktCRCEn, 0x00000088, 0x00000108)
        SET_REG_ADDRESS(TM.TM2TM.QmapHeaderCont, 0x00000088, 0x00000110)
        SET_REG_ADDRESS(TM.TM2TM.QmapHeaderEn, 0x00000088, 0x00000118)
        SET_REG_ADDRESS(TM.TM2TM.ExtHeadersSize, 0x00000088, 0x00000120)
        SET_REG_ADDRESS(TM.TM2TM.TMHeader, 0x00000088, 0x00000160)
        SET_REG_ADDRESS(TM.TM2TM.ContHeader, 0x00000088, 0x00000168)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMPktStructure, 0x00000088, 0x00000170)
        SET_REG_ADDRESS(TM.TM2TM.Delta2PrioMap, 0x00000088, 0x00000178)
        SET_REG_ADDRESS(TM.TM2TM.TMPort, 0x00000088, 0x00000180)
        SET_REG_ADDRESS(TM.TM2TM.RemoteDPMode, 0x00000088, 0x00000190)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMEgTMLevelMap, 0x00000088, 0x00000198)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMElementsPerEgTMLevel, 0x00000088, 0x000001a0)
        SET_REG_ADDRESS(TM.TM2TM.TM2TMGenModePerLevel, 0x00000088, 0x000001a8)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMBaseOffsetPerIngTMLevel, 0x00000088, 0x000001b0)
        SET_REG_ADDRESS(TM.TM2TM.TMtoTMEgTMBPLevelMap, 0x00000088, 0x00000800)
        SET_REG_ADDRESS(TM.TM2TM.TM2TMXonXoffThresh, 0x00000088, 0x00000808)
        SET_REG_ADDRESS(TM.TM2TM.RespRemoteDPSel, 0x00000088, 0x00001000)
        SET_REG_ADDRESS(TM.TM2TM.EccConfig, 0x00000088, 0x00000188)
        SET_REG_ADDRESS(TM.TM2TM.EccMemParams0, 0x00000088, 0x000001b8)
        SET_REG_ADDRESS(TM.TM2TM.EccMemParams1, 0x00000088, 0x000001c0)
        SET_REG_ADDRESS(TM.TM2TM.EccMemParams2, 0x00000088, 0x000001c8)
        SET_REG_ADDRESS(TM.TM2TM.EccMemParams3, 0x00000088, 0x000001d0)
        SET_REG_ADDRESS(TM.TM2TM.ExtHeadersContent, 0x00000088, 0x00000140)
        SET_REG_ADDRESS(TM.TM2TM.PortDropProb, 0x00000088, 0x08802000)
        SET_REG_ADDRESS(TM.TM2TM.NodeDropProb, 0x00000088, 0x0a800000)
		/* added manually - only necessary registers */
        /*start of unit BAP[10]*/
        for (j = 0; j < TM_MAX_BAP; j++)
        {
			TM.BAP[j].ErrStus.l[0] = 0x00000000; /*0x200C000000*/
            TM.BAP[j].ErrStus.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].FirstExc.l[0] = 0x00000008; /*0x200C000008*/
            TM.BAP[j].FirstExc.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ErrCnt.l[0] = 0x00000010; /*0x200C000010*/
            TM.BAP[j].ErrCnt.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ExcCnt.l[0] = 0x00000018; /*0x200C000018*/
            TM.BAP[j].ExcCnt.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ExcMask.l[0] = 0x00000020; /*0x200C000020*/
            TM.BAP[j].ExcMask.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ID.l[0] = 0x00000028; /*0x200C000028*/
            TM.BAP[j].ID.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ForceErr.l[0] = 0x00000030; /*0x200C000030*/
            TM.BAP[j].ForceErr.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MgmtEvtStus.l[0] = 0x00000038; /*0x200C000038*/
            TM.BAP[j].MgmtEvtStus.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MgmtEvtMask.l[0] = 0x00000040; /*0x200C000040*/
            TM.BAP[j].MgmtEvtMask.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ReqAcssMode.l[0] = 0x00000050; /*0x200C000050*/
            TM.BAP[j].ReqAcssMode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ReqAcssModeFirstContWrEn.l[0] = 0x00000058; /*0x200C000058*/
            TM.BAP[j].ReqAcssModeFirstContWrEn.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].OEMode.l[0] = 0x00000060; /*0x200C000060*/
            TM.BAP[j].OEMode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MaxReads.l[0] = 0x00000080; /*0x200C000080*/
            TM.BAP[j].MaxReads.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MaxReadsPanic.l[0] = 0x00000088; /*0x200C000088*/
            TM.BAP[j].MaxReadsPanic.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MaxWrites.l[0] = 0x00000090; /*0x200C000090*/
            TM.BAP[j].MaxWrites.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].MaxWritesPanic.l[0] = 0x00000098; /*0x200C000098*/
            TM.BAP[j].MaxWritesPanic.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].tRC.l[0] = 0x000000A0; /*0x200C0000A0*/
            TM.BAP[j].tRC.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].tFAW.l[0] = 0x000000A8; /*0x200C0000A8*/
            TM.BAP[j].tFAW.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].tRRD.l[0] = 0x000000B0; /*0x200C0000B0*/
            TM.BAP[j].tRRD.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RdApToActDelay.l[0] = 0x000000B8; /*0x200C0000B8*/
            TM.BAP[j].RdApToActDelay.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].WrApToActDelay.l[0] = 0x000000C0; /*0x200C0000C0*/
            TM.BAP[j].WrApToActDelay.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].Read2WriteNOPs.l[0] = 0x000000C8; /*0x200C0000C8*/
            TM.BAP[j].Read2WriteNOPs.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].Write2ReadNOPs.l[0] = 0x000000D0; /*0x200C0000D0*/
            TM.BAP[j].Write2ReadNOPs.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].AfterRefNOPs.l[0] = 0x000000D8; /*0x200C0000D8*/
            TM.BAP[j].AfterRefNOPs.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RefInterval.l[0] = 0x000000E0; /*0x200C0000E0*/
            TM.BAP[j].RefInterval.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RefCalNRatio.l[0] = 0x000000E8; /*0x200C0000E8*/
            TM.BAP[j].RefCalNRatio.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].AfterCalNOPs.l[0] = 0x000000F0; /*0x200C0000F0*/
            TM.BAP[j].AfterCalNOPs.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].WritePanicThresh.l[0] = 0x000000F8; /*0x200C0000F8*/
            TM.BAP[j].WritePanicThresh.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActRdReqCode.l[0] = 0x00000180; /*0x200C000180*/
            TM.BAP[j].ActRdReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RdApReqCode.l[0] = 0x00000188; /*0x200C000188*/
            TM.BAP[j].RdApReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RdReqCode.l[0] = 0x00000190; /*0x200C000190*/
            TM.BAP[j].RdReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActRdApReqCode.l[0] = 0x00000198; /*0x200C000198*/
            TM.BAP[j].ActRdApReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActWrReqCode.l[0] = 0x000001A0; /*0x200C0001A0*/
            TM.BAP[j].ActWrReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].WrApReqCode.l[0] = 0x000001A8; /*0x200C0001A8*/
            TM.BAP[j].WrApReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].WrReqCode.l[0] = 0x000001B0; /*0x200C0001B0*/
            TM.BAP[j].WrReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActWrApReqCode.l[0] = 0x000001B8; /*0x200C0001B8*/
            TM.BAP[j].ActWrApReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].IdleReqCode.l[0] = 0x000001C0; /*0x200C0001C0*/
            TM.BAP[j].IdleReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RefReqCode.l[0] = 0x000001C8; /*0x200C0001C8*/
            TM.BAP[j].RefReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].CalReqCode.l[0] = 0x000001D0; /*0x200C0001D0*/
            TM.BAP[j].CalReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].LADRdReqCode.l[0] = 0x000001D8; /*0x200C0001D8*/
            TM.BAP[j].LADRdReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].LADWrReqCode.l[0] = 0x000001E0; /*0x200C0001E0*/
            TM.BAP[j].LADWrReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActWrFirstReqCode.l[0] = 0x000001E8; /*0x200C0001E8*/
            TM.BAP[j].ActWrFirstReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ActWrApFirstReqCode.l[0] = 0x000001F0; /*0x200C0001F0*/
            TM.BAP[j].ActWrApFirstReqCode.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].LADNormalReqPrms.l[0] = 0x00000200; /*0x200C000200*/
            TM.BAP[j].LADNormalReqPrms.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].LADXCMReqPrms.l[0] = 0x00000208; /*0x200C000208*/
            TM.BAP[j].LADXCMReqPrms.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ReqEngAddr.l[0] = 0x00000210; /*0x200C000210*/
            TM.BAP[j].ReqEngAddr.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsLADReqAddrCtl.l[0] = 0x00000280; /*0x200C000280*/
            TM.BAP[j].XCMAccsLADReqAddrCtl.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsLADRespStus.l[0] = 0x000002A0; /*0x200C0002A0*/
            TM.BAP[j].XCMAccsLADRespStus.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsDRAMReqAddrCtl.l[0] = 0x000002C0; /*0x200C0002C0*/
            TM.BAP[j].XCMAccsDRAMReqAddrCtl.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsDRAMRespStus.l[0] = 0x000002E0; /*0x200C0002E0*/
            TM.BAP[j].XCMAccsDRAMRespStus.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].DramDataWrFIFOsBp.l[0] = 0x00000300; /*0x200C000300*/
            TM.BAP[j].DramDataWrFIFOsBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].DramDataRdFIFOsBp.l[0] = 0x00000308; /*0x200C000308*/
            TM.BAP[j].DramDataRdFIFOsBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].DramCtlWrFIFOsBp.l[0] = 0x00000310; /*0x200C000310*/
            TM.BAP[j].DramCtlWrFIFOsBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].DramCtlRdFIFOsBp.l[0] = 0x00000318; /*0x200C000318*/
            TM.BAP[j].DramCtlRdFIFOsBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].RCBRdLLFIFOBp.l[0] = 0x00000320; /*0x200C000320*/
            TM.BAP[j].RCBRdLLFIFOBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ReqTypeAttrFIFOBp.l[0] = 0x00000328; /*0x200C000328*/
            TM.BAP[j].ReqTypeAttrFIFOBp.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].GlobalBPThresh.l[0] = 0x00001000; /*0x200C001000*/
            TM.BAP[j].GlobalBPThresh.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].ReqShpPrms.l[0] = 0x00002000; /*0x200C002000*/
            TM.BAP[j].ReqShpPrms.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].BAPPHYWritePath.l[0] = 0x00002800; /*0x200C002800*/
            TM.BAP[j].BAPPHYWritePath.l[1] = 0x00000020 + j*0x00000008;
			TM.BAP[j].BAPPHYSamplePath.l[0] = 0x00002800; /*0x200C002800*/
			TM.BAP[j].BAPPHYSamplePath.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].BAPPHYReadPath.l[0] = 0x00002810; /*0x200C002810*/
            TM.BAP[j].BAPPHYReadPath.l[1] = 0x00000020 + j*0x00000008;

            /* Tables */
            TM.BAP[j].XCMAccsLADReqWrData.l[0] = 0x00000290; /*0x200C000290*/
            TM.BAP[j].XCMAccsLADReqWrData.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsLADRespData.l[0] = 0x000002B0; /*0x200C0002B0*/
            TM.BAP[j].XCMAccsLADRespData.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsDRAMReqWrData.l[0] = 0x000002D0; /*0x200C0002D0*/
            TM.BAP[j].XCMAccsDRAMReqWrData.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].XCMAccsDRAMRespData.l[0] = 0x000002F0; /*0x200C0002F0*/
            TM.BAP[j].XCMAccsDRAMRespData.l[1] = 0x00000020 + j*0x00000008;
            TM.BAP[j].PortBPThresh.l[0] = 0x00000800; /*0x200C000800*/
            TM.BAP[j].PortBPThresh.l[1] = 0x00000020 + j*0x00000008;
        }
        /*end of unit BAP[10]*/

		isInitialized = GT_TRUE;
}
